<!DOCTYPE html>
<html lang="en">
<head>
    {include file="public/meta" /}
    {include file="public/link" /}
</head>
<body data-type="index" class="theme-white">
<div class="am-g tpl-g">
    {include file="public/header" /}
    {include file="public/left" /}
    {include file="public/content_top" /}
    <ol class="am-breadcrumb">
        <li><a href="../home/index.html" class="am-icon-home">首页</a></li>
        <li><a href="../user/index.html">用户管理</a></li>
        <li class="am-active"><a href="../user_bank/index.html?a={$a}&b={$b}">银行卡管理</a></li>
    </ol>
    <div class="widget am-cf">
        <hr data-am-widget="divider" class="am-divider am-divider-default"/>
        <div class="widget-body widget-body-lg am-fr">
            <div class="am-scrollable-horizontal">
                <table class="{$table}">
                    <thead>
                    <tr>
                        <th>选择</th>
                        <th>账户ID</th>
                        <th>账户手机</th>
                        <th>账户身份证</th>
                        <th>开户行</th>
                        <th>开户分行</th>
                        <th>开户名</th>
                        <th>银行卡号</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="list">
                    {volist name="list" id="vo" empty="$empty"}
                    <tr>
                        <td><input id="rptList_chkId_3" type="checkbox" name="rptList$ctl04$chkId"></td>
                        <td>{$vo.uid}</td>
                        <td>{$vo.phone}</td>
                        <td>{$vo.number}</td>
                        <td>{$vo.name}</td>
                        <td>{$vo.address}</td>
                        <td>{$vo.account}</td>
                        <td>{$vo.card}</td>
                        <td>
                            <a href="edit.html?id={$vo.uid}&a={$a}&b={$b}" class="am-btn am-btn-success am-btn-xs">修改</a>
                        </td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
                <div class="am-pagination-left">{$page}</div>
            </div>
        </div>
    </div>
</div>
{include file="public/foot" /}
<script type="text/javascript">
    function del() {
        if (confirm("确定要删除吗？")) {
            return true;
        } else {
            return false;
        }
    }

    $(function () {
        var nav = $('.left-sidebar li.sidebar-nav-link');
        nav.removeClass("active");
        nav.eq({$a}).find('ul').show();
        nav.eq({$a}).find('ul li').eq({$b}).find('a').addClass('active');
    });
</script>
</body>
</html>